<link href="http://localhost/shopping/cms/templates/cms_special.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://localhost/shopping/data/resource/js/jcarousel/jquery.jcarousel.min.js" charset="utf-8"></script>
<script type="text/javascript" src="http://localhost/shopping/data/resource/js/slidesjs/jquery.slides.min.js" charset="utf-8"></script>
<link href="http://localhost/shopping/data/resource/js/jcarousel/skins/personal/skin.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
$(document).ready(function() {
    if($('#index1_1_1_content').children().length > 0) {
        $('#index1_1_1_content').slidesjs({
            play: {
                active: true,
                    interval: 5000,
                    auto: true,
                    pauseOnHover: false,
                    restartDelay: 2500
            },
            callback: {
                complete: function(number) {
                    var $item = $(".slidesjs-pagination-item");
                    $item.removeClass("current");
                    $item.eq(number - 1).addClass("current");
                }
            },
                width: 380,
                height: 260
        });
        $(".slidesjs-pagination-item").eq(0).addClass("current");
    }

    //图片延迟加载
    $(".lazyload_container").nc_lazyload_init();
    $("img").nc_lazyload();

    //计算自定义块高度
    var frames = $('.cms-module-frame');
    $.each(frames, function(index, frame) {
        var boxs = $(frame).find('[nctype="cms_module_content"]');
        var height = 0;
        $.each(boxs, function(index2, box) {
            var box_height = $(box).height();
            if(box_height > height) {
                height = box_height;
            }
        });
        boxs.height(height);
    });
});
</script>
<div class="cms-index-module-index1 module-style-style1">
  <div class="cms-index-module-index1-1"> 
    <!-- 封面图 -->
    <div class="index1-1-1-content">
        <div class="index1-1-1-content-ul-wrap">
            <ul id="index1_1_1_content" style="height:260px;" nctype="object_module_edit">
                <li class="picture"><div class="cms-thumb"><a href="" target="_blank"><img data-image-name="04961728996187237.jpg" src="http://localhost/shopping/data/upload/cms/index/04961728996187237.jpg" alt="" class="t-img"></a></div></li>            </ul>
        </div>
            </div>
    <!-- 圈子|专题 -->
    <div class="cms-index-module-index1-1-2">
        <div id="index1_1_2_content" class="index1-1-2-content" nctype="object_module_edit">  </div>
              </div>
  </div>
  <!-- 文章　-->
  <div class="cms-index-module-index1-2">
    <div class="cms-index-module-index1-2-1">
      <div class="title-bar">
        <h3 id="index1_2_1_title" nctype="object_module_edit">今日头条</h3>
              </div>
      <div class="content-box content-big">
        <ul id="index1_2_1_1_content" nctype="object_module_edit">
                  </ul>
              </div>
      <div class="content-box content-recommand">
        <ul id="index1_2_1_2_content" nctype="object_module_edit">
                  </ul>
              </div>
    </div>
        <div class="articel-block">
      <div class="title-bar">
        <h3 id="index1_2_2_title" nctype="object_module_edit">数码前沿</h3>
              </div>
      <div class="content-box content-special">
        <ul id="index1_2_2_1_content" nctype="object_module_edit">
                  </ul>
              </div>
      <div class="content-box content-normal">
        <ul id="index1_2_2_2_content" nctype="object_module_edit">
                  </ul>
              </div>
    </div>
        <div class="articel-block">
      <div class="title-bar">
        <h3 id="index1_2_3_title" nctype="object_module_edit">最新科技</h3>
              </div>
      <div class="content-box content-special">
        <ul id="index1_2_3_1_content" nctype="object_module_edit">
                  </ul>
              </div>
      <div class="content-box content-normal">
        <ul id="index1_2_3_2_content" nctype="object_module_edit">
                  </ul>
              </div>
    </div>
        <div class="articel-block">
      <div class="title-bar">
        <h3 id="index1_2_4_title" nctype="object_module_edit">外出旅行</h3>
              </div>
      <div class="content-box content-special">
        <ul id="index1_2_4_1_content" nctype="object_module_edit">
                  </ul>
              </div>
      <div class="content-box content-normal">
        <ul id="index1_2_4_2_content" nctype="object_module_edit">
                  </ul>
              </div>
    </div>
      </div>
  <!-- 商品分类　-->
  <div class="cms-index-module-index1-3">
    <div class="title-bar">
      <h3 id="index1_3_title" nctype="object_module_edit">热销家电</h3>
          </div>
    <div class="content-box mall-class">
      <div id="index1_3_content" nctype="object_module_edit"> <dl>
    <dt>
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=309" target="_blank">大家电</a>
    </dt>
    <div class="clear"></div>
            <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=314" target="_blank">平板电视</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=315" target="_blank">空调</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=316" target="_blank">冰箱</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=317" target="_blank">洗衣机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=318" target="_blank">家庭影院</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=319" target="_blank">DVD播放机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=320" target="_blank">迷你音响</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=321" target="_blank">烟机/灶具</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=322" target="_blank">热水器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=323" target="_blank">消毒柜/洗碗机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=324" target="_blank">酒柜/冰吧/冷柜</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=325" target="_blank">家电配件</a>
    </dd>
        </dl>
<dl>
    <dt>
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=310" target="_blank">生活电器</a>
    </dt>
    <div class="clear"></div>
            <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=326" target="_blank">净化器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=327" target="_blank">电风扇</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=328" target="_blank">吸尘器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=329" target="_blank">加湿器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=330" target="_blank">净水设备</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=331" target="_blank">饮水机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=332" target="_blank">冷风扇</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=333" target="_blank">挂烫机/熨斗</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=334" target="_blank">电话机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=335" target="_blank">插座</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=336" target="_blank">收录/音机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=337" target="_blank">除湿/干衣机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=338" target="_blank">清洁机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=339" target="_blank">取暖电器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=340" target="_blank">其它生活电器</a>
    </dd>
        </dl>
<dl>
    <dt>
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=312" target="_blank">个护健康</a>
    </dt>
    <div class="clear"></div>
            <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=358" target="_blank">剃须刀</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=359" target="_blank">剃/脱毛器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=360" target="_blank">口腔护理</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=361" target="_blank">电吹风</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=362" target="_blank">美容器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=363" target="_blank">美发器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=364" target="_blank">按摩椅</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=365" target="_blank">按摩器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=366" target="_blank">足浴盆</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=367" target="_blank">血压计</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=368" target="_blank">健康秤/厨房秤</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=369" target="_blank">血糖仪</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=370" target="_blank">体温计</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=371" target="_blank">计步器/脂肪检测仪</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=372" target="_blank">其它健康电器</a>
    </dd>
        </dl>
<dl>
    <dt>
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=311" target="_blank">厨房电器</a>
    </dt>
    <div class="clear"></div>
            <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=341" target="_blank">料理/榨汁机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=342" target="_blank">豆浆机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=343" target="_blank">电饭煲</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=344" target="_blank">电压力锅</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=345" target="_blank">面包机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=346" target="_blank">咖啡机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=347" target="_blank">微波炉</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=348" target="_blank">电烤箱</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=349" target="_blank">电磁炉</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=350" target="_blank">电饼铛/烧烤盘</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=351" target="_blank">煮蛋器</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=352" target="_blank">酸奶机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=353" target="_blank">电炖锅</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=354" target="_blank">电水壶/热水瓶</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=355" target="_blank">多用途锅</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=356" target="_blank">果蔬解毒机</a>
    </dd>
        <dd> 
    
    <a href="http://localhost/shopping/shop/index.php?act=search&cate_id=357" target="_blank">其它厨房电器</a>
    </dd>
        </dl> </div>
            <div class="goto-mall"><a href="http://localhost/shopping/shop" target="_blank">进入商城</a></div>
   </div>
   <div class="clear"></div>
  </div>
</div>
<script type="text/javascript">
$(window).load(function() {
//比例局中裁切显示图片
	$(".cms-index-module-index1-1-1 .t-img").VMiddleImg({"width":380,"height":230});
    $(".circle-theme-item .t-img").VMiddleImg({"width":160,"height":100});
	$(".cms-index-module-index1-2 .t-img").VMiddleImg({"width":120,"height":96});

});
</script>
<script type="text/javascript">
$(document).ready(function() {
    var personal_count = Math.ceil($("#indexPersonal li").length / 4);
    var control_html = '<div id="indexPersonalControl" nctype="cms_index_not_save">';
    for(var i = 1; i <= personal_count; i++) {
        control_html += '<a href="###" class="" data-count="'+ i +'"></a>';
    }
    control_html += "</div>";
    $("#indexPersonal").after(control_html);
    //个人秀滚动
    $('#indexPersonal').jcarousel({
        initCallback: mycarousel_initCallback,
            itemLoadCallback: mycarousel_LoadCallback,
            auto:5,
            scroll:4,
            wrap:'last',
            buttonNextHTML: null,
            buttonPrevHTML: null
    });
    function mycarousel_LoadCallback(carousel, state) {
        $("#indexPersonalControl a").each(function() {
            if($(this).attr("data-count") * 4 - 3 == carousel.first) {
                $(this).attr("class", "current");
            } else {
                $(this).attr("class", "");
            }
        });
    };
    function mycarousel_initCallback(carousel) {
        $('#indexPersonalControl a').live('click', function() {
            carousel.scroll(jQuery.jcarousel.intval($(this).attr("data-count")) * 4 - 3);
            return false;
        });
    };

    //店铺
    $("[nc_type='index_store']").each(function() {
        var overall = $(this).find("li.overall");
        var simple = $(this).find("li.simple");
        overall.hide();
        overall.first().show();
        simple.first().hide();
        simple.mouseover(function(){
            simple.show();
            overall.hide();
            $(this).prev("li.overall").show();
            $(this).hide();
        });
    });

});
</script>

<div class="cms-index-module-micro">
  <div id="micro_content" nctype="object_module_edit"> <DIV class=cms-module-micro-left>
<DIV class=title-bar>
<DIV class=micro-api-title>微商城</DIV>
<DIV class=micro-api-personal-class>
<UL>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=1" target=_blank>女装</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=9" target=_blank>女鞋</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=8" target=_blank>配饰</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=7" target=_blank>男装</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=6" target=_blank>男鞋</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=5" target=_blank>女包</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=4" target=_blank>童装</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=3" target=_blank>运动</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=2" target=_blank>男包</A> </LI>
<LI><A href="http://localhost/shopping/microshop/index.php?act=personal&class_id=10" target=_blank>奢侈</A> </LI></UL></DIV>
<DIV class=title-more><A class=more href="http://localhost/shopping/microshop" target=_blank>更多</A></DIV></DIV>
<DIV class=micro-api-personal-list><!--推荐个人秀部分-->
<DIV class=title>
<H3>会员推荐<EM>个人秀</EM></H3></DIV>
<UL class=jcarousel-skin-personal id=indexPersonal></UL></DIV></DIV>
<DIV class=micro-api-store-list><!--店铺街推荐排行-->
<DIV class=title-bar>
<H3>店铺街</H3><A class=more href="http://localhost/shopping/microshop/index.php?act=store" target=_blank>更多</A> </DIV>
<DIV class=contnet-box>
<OL class=microshop-store-list nc_type="index_store"></OL></DIV></DIV>
<DIV class=clear></DIV>  </div>
    </div>

